QT       += core gui multimedia network concurrent opengl

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
unix: !mac {
    INCLUDEPATH += /usr/local/include
    LIBS += -L/usr/local/lib -lopencv_core -lopencv_imgproc -lopencv_imgcodecs -lopencv_video -lopencv_videoio

INCLUDEPATH += /home/incar/source/cpp/SktCmaSys/Hik/includeCn
LIBS += -L/home/incar/source/cpp/demohik/hik/lib -Wl,-rpath=./:HCNetSDKCom:./hik/lib -lhcnetsdk -lPlayCtrl -lAudioRender -lSuperRender


#LIBS += /home/incar/source/cpp/SktCmaSys/Hik/lib/libhcnetsdk.so\
#        /home/incar/source/cpp/SktCmaSys/Hik/lib/libHCCore.so\
#        /home/incar/source/cpp/SktCmaSys/Hik/lib/libhpr.so\
#        /home/incar/source/cpp/SktCmaSys/Hik/lib/libPlayCtrl.so\
#        /home/incar/source/cpp/SktCmaSys/Hik/lib/libSuperRender.so\
#        /home/incar/source/cpp/SktCmaSys/Hik/lib/libAudioRender.so


}

unix: mac {
    INCLUDEPATH += /usr/local/opencv4.3/include/opencv4
    LIBS += -L/usr/local/opencv4.3/lib -lopencv_world
}

win32 {
    INCLUDEPATH += c:/path/to/opencv/include/opencv4
    LIBS += -lc:/path/to/opencv/lib/opencv_world
}



SOURCES += \
    capturethread.cpp \
    main.cpp \
    mainwindow.cpp \
    sktsetstyle.cpp \
    utilities.cpp

HEADERS += \
    capturethread.h \
    mainwindow.h \
    sktsetstyle.h \
    utilities.h

FORMS += \
    mainwindow.ui

TRANSLATIONS += \
    SktCmaSys_zh_CN.ts

## Default rules for deployment.
#qnx: target.path = /tmp/$${TARGET}/bin
#else: unix:!android: target.path = /opt/$${TARGET}/bin
#!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    SktCmaSys.qrc

DISTFILES += \
    SktQssFile.css
